package com.qingfeng.client.util;

import com.baomidou.mybatisplus.core.injector.methods.SelectList;

/**
 * 退款状态；1:退款申请等待卖家同意，
 * 2:退款协议达成，等待买家确认，
 * 3：退款关闭，
 * 4：退款成功
 * -1：卖家不同意协议，等待买家修改，
 * -2：卖家未收货，不同意退款，
 * @author zhangyuefei
 * @version 1.0
 * @date 2020/3/11 4:12 下午
 */
public enum RefundEnum {
    SELL_AGREE(1,"退款申请等待卖家同意"),
    WAIT_BUYER_AGREE(2,"退款协议达成，等待买家确认"),
    CLOSE(3,"退款关闭"),
    SUCCESS(4,"退款成功"),
    DISAGREE(-1,"卖家不同意协议，等待买家修改"),
    DISAGREE_NO_GOODS(-2,"卖家未收货，不同意退款")
    ;

    private Integer code;

    private String msg;

     RefundEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
